import Vue from 'vue'
// import MintUI from 'mint-ui'
// import 'mint-ui/lib/style.css'
import App from './App.vue'
import router from './router'
import store from './store'
// 引入全局样式
import './assets/css/reset.css'
import FastClick from './assets/js/fastclick'
import LyTab from 'ly-tab'

// 引入mint-ui
import { Indicator  } from 'mint-ui'
import 'mint-ui/lib/style.css'
import { Actionsheet } from 'mint-ui';
Vue.component(Actionsheet.name, Actionsheet);
import { DatetimePicker } from 'mint-ui';
Vue.component(DatetimePicker.name, DatetimePicker);



Vue.use(LyTab)
Vue.use(Indicator)
// Vue.use(MintUI)

import '@/common/css/style.css'


if ('addEventListener' in document) {
  document.addEventListener('DOMContentLoaded', function() {
    FastClick.attach(document.body);
  }, false);
}

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
